package com.jike.shop.cloud.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 赠品表
 * </p>
 *
 * @author 夕颜
 * @since 2022-07-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("mall_act_freebie")
public class MallActFreebieDO implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id")
    private String id;

    /**
     * 商品id
     */
    private String goodsId;

    /**
     * 商品sn
     */
    private String goodsSn;

    /**
     * skuid
     */
    private String skuId;

    /**
     * skusn
     */
    private String skuSn;

    /**
     * 总库存
     */
    private Integer stockTotal;

    /**
     * 剩余库存
     */
    private Integer stockRemain;

    /**
     * 使用库存
     */
    private Integer stockUsed;

    /**
     * 主商品id
     */
    private String mainGoodsId;

    /**
     * 主商品sn
     */
    private String mainGoodsSn;

    /**
     * 活动id
     */
    private String actId;

    /**
     * 活动商品id
     */
    private String actGoodsId;


}
